package com.maya.medicalwastes.bean;


import com.maya.medicalwastes.entity.FormUploadPicture;

import java.util.List;

/**
 * *
 */
public class ItemEntity {
    /*    private String itemId;
    private String itemName;
    List<ItemEntity> items;
    private int controlType;*/

    /**
     * classifyRecordId : 1036813312563634176
     * controlType : 2 ==>item的控件类型
     * createBy : 1000903493453701120
     * createTime : 2018-09-04 11:09:12
     * enable : true
     * id : 1036813397024333824 ==>item id
     * id_ : 1036813397024333824
     * itemsId : 1036573851573596160
     * layer : 0
     * name : 测试下的你好啊 ==>item名
     * orgId : 841625735917748224
     * remark : 输入框说明
     * rootId : 1
     * updateTime : 2018-09-04 11:09:12
     * valueType : 0
     * pictures : 包含上传图片FormUploadPicture的集合
     * isErrorItem : 用于判断单选中的选项是否为：“异常”，0不是，1是
     */

    private String classifyRecordId;
    private int controlType;
    private String createBy;
    private String createTime;
    private boolean enable;
    private String id;
    private String id_;
    private String itemsId;
    private int layer;
    private String name;
    private String orgId;
    private String remark;
    private String rootId;
    private String updateTime;
    private int valueType;
    private int childLength;
    private int isNecessary;//是否为必填项。0非必填，1必填
    private Integer isErrorItem;
    private List<FormUploadPicture> pictures;
    List<ItemEntity> items;
    /**
     * lowerVal : 6
     * upperVal : 22
     */

    private int lowerVal;
    private int upperVal;

    private String lowerValStr;
    private String upperValStr;

    //值
    private String itemValue;

    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }

    public String getLowerValStr() {
        return lowerValStr;
    }

    public void setLowerValStr(String lowerValStr) {
        this.lowerValStr = lowerValStr;
    }

    public String getUpperValStr() {
        return upperValStr;
    }

    public void setUpperValStr(String upperValStr) {
        this.upperValStr = upperValStr;
    }

    public List<ItemEntity> getItems() {
        return items;
    }

    public void setItems(List<ItemEntity> items) {
        this.items = items;
    }

    public String getClassifyRecordId() {
        return classifyRecordId;
    }

    public void setClassifyRecordId(String classifyRecordId) {
        this.classifyRecordId = classifyRecordId;
    }

    public int getControlType() {
        return controlType;
    }

    public void setControlType(int controlType) {
        this.controlType = controlType;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId_() {
        return id_;
    }

    public void setId_(String id_) {
        this.id_ = id_;
    }

    public String getItemsId() {
        return itemsId;
    }

    public void setItemsId(String itemsId) {
        this.itemsId = itemsId;
    }

    public int getLayer() {
        return layer;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRootId() {
        return rootId;
    }

    public void setRootId(String rootId) {
        this.rootId = rootId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getValueType() {
        return valueType;
    }

    public void setValueType(int valueType) {
        this.valueType = valueType;
    }


    public int getLowerVal() {
        return lowerVal;
    }

    public void setLowerVal(int lowerVal) {
        this.lowerVal = lowerVal;
    }

    public int getUpperVal() {
        return upperVal;
    }

    public void setUpperVal(int upperVal) {
        this.upperVal = upperVal;
    }

    public List<FormUploadPicture> getPictures() {
        return pictures;
    }

    public Integer getIsErrorItem() {
        return isErrorItem;
    }

    public int getChildLength() {
        return childLength;
    }

    public void setPictures(List<FormUploadPicture> pictures) {
        this.pictures = pictures;
    }

    public int getIsNecessary() {
        return isNecessary;
    }
}
